﻿using System.Linq;
using SeaBattle.Domain.Entities;

namespace SeaBattle.Domain.Abstract
{
    public interface IPlayerRepository
    {
        IQueryable<Player> Players { get; }
        Player CreateNewPlayer(string login,decimal balance);
        void SavePlayer(Player player);
    }
}
